<?php 
	include 'inc/header.php';
?>

<!--MAIN AREA -->
<!--页面头部-->
<div class="page-title">
				
				<div class="title-env">
					<h1 class="title">大仓管理</h1>
					<p class="description"></p>
				</div>
				
					<div class="breadcrumb-env">
					
								<ol class="breadcrumb bc-1">
									<li>
							<a href="index.php"><i class="fa-home"></i>首页</a>
						</li>
								<li>
						
										<a href="erp-depot.php">ERP管理</a>
								</li>
							<li class="active">
						
										<strong>供应商管理</strong>
								</li>
								</ol>
								
				</div>
					
			</div>

<!--END 页面头部-->

    <!--pannel-->
    <div class="row">
      <div class="col-md-12">
        <div class="panel panel-default">
          <div class="panel-heading">
              
                          <!-- 分类选择-->
              <span class="col-md-2"> 
            <select class="form-control">
              <option>显示全部城市</option>
              <option>Option 2</option>
              <option>Option 3</option>
              <option>Option 4</option>
              <option>Option 5</option>
            </select>
            </span> 
            <!-- END 分类选择-->
            
            <div class="vertical-top pull-right"> <a href="erp-depot-add.php">
              <a href="javascript:;" onclick="jQuery('#modal-6').modal('show', {backdrop: 'static'});" class="btn btn-primary btn-single btn-sm">供应商</a>
              </a> </div>
          </div>
          <div class="panel-body"> 
            <!--    表格开始-->
            <table class="table table-striped product-list">
              <thead>
                <tr>
                  <th><input type="checkbox"></th>
                  <th>供应商名称</th>
                    <th>编号</th>
                    <th>所在城市</th>
                  <th>类型</th>
                  <th>采购产品种类</th>
                  
                  <th>操作</th>
                </tr>
              </thead>
              <tbody>
                <!--    LINE   -->
                <tr>
                  <td><input type="checkbox"></td>
                  <td><a href="显示该大仓的所有产品"> 上海果王</a></td>
                    <td>SH-001</td>
                  <td>上海</td>
                    <td>综合供应商 <!--单品供应商--></td>
                  
                  <td><a href="@显示该供应商的所有基础商品" class="text-info">22 <i class="fa fa-edit icon-biger"></i></a></td>
                
                  <td>
                      <a href="#"><i class="fa fa-edit icon-biger"></i></a>&nbsp;
                      <a href="#"><i class="fa fa-close icon-biger"></i></a> 
                    
                    </td>
                </tr>
                <!--  END  LINE   -->
                
              </tbody>
            </table>
            
            <!-- END   表格开始-->
            <div class="vertical-top pull-left">
              <button class="btn btn-gray btn-sm btn-icon"> <span>批量删除</span> </button>
              <button class="btn btn-gray btn-sm btn-icon"> <span>批量开启</span> </button>
              <button class="btn btn-gray btn-sm btn-icon"> <span>批量关闭</span> </button>
            </div>
          </div>
        </div>
        <!-- END   panne--> 
      </div>
    </div>
    
    <!--END pannel-->



<?php 
	include 'inc/footer.php';
?>
<!-- Modal 6 (Long Modal)-->
	<div class="modal fade" id="modal-6">
		<div class="modal-dialog">
			<div class="modal-content">
				
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
					<h4 class="modal-title">添加供应商</h4>
				</div>
				
				<div class="modal-body">
				
					<div class="row">
						<div class="col-md-6">
							
							<div class="form-group">
								<label for="field-1" class="control-label">供应商名称</label>
								
								<input type="text" class="form-control" id="field-1" placeholder="John">
							</div>	
							
						</div>
						
						<div class="col-md-6">
							
							<div class="form-group">
								<label for="field-2" class="control-label">所属城市</label>
								
								<select class="form-control">
											<option>北京</option>
											<option>Option 2</option>
											<option>Option 3</option>
											<option>Option 4</option>
											<option>Option 5</option>
										</select>
							</div>	
						
						</div>
					</div>
                    					<div class="row">
						<div class="col-md-6">
							
							<div class="form-group">
								<label for="field-1" class="control-label">代码</label>
								
								<input type="text" class="form-control" id="field-1" placeholder="John">
							</div>	
							
						</div>
						
						<div class="col-md-6">
							
							<div class="form-group">
								<label for="field-2" class="control-label">供应商类型</label>
								
								<select class="form-control">
											<option>综合供应商</option>
											<option>单品供应商</option>
										</select>
							</div>	
						
						</div>
					</div>
				
					<div class="row">
						<div class="col-md-6">
							
							<div class="form-group">
								<label for="field-4" class="control-label">联系人</label>
								
								<input type="text" class="form-control" id="field-4" placeholder="请输入手机号">
							</div>	
							
						</div>
						
						<div class="col-md-6">
							
							<div class="form-group">
								<label for="field-5" class="control-label">联系电话</label>
								
								<input type="password" class="form-control" id="field-5" placeholder="">
							</div>	
						
						</div>
						

						
						</div>
                    <div class="row">
                        						<div class="col-md-12">
							
							<div class="form-group">
								<label for="field-5" class="control-label">地址</label>
								
								<input type="password" class="form-control" id="field-5" placeholder="">
							</div>	
						
						</div>
					</div>
				
					<div class="row">
						<div class="col-md-12">
							
							<div class="form-group no-margin">
								<label for="field-7" class="control-label">备注</label>
								
								<textarea class="form-control autogrow" id="field-7" placeholder="Write something about yourself"></textarea>
							</div>	
							
						</div>
					</div>
					
				</div>
				
				<div class="modal-footer">
					<button type="button" class="btn btn-white" data-dismiss="modal">取消</button>
					<button type="button" class="btn btn-info">确认添加</button>
				</div>
			</div>
		</div>
	</div>

